package com.robotserver.orders.entity;

import java.io.Serializable;

public abstract class BaseEntity implements Serializable {
    protected Long id;
    protected Integer createTime;
    protected Integer updateTime;
    protected abstract Serializable pkVal();
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
}
